<?php
/**
 * Created by PhpStorm.
 * User: LHX
 * Date: 2017/5/18
 * Time: 10:31
 * 用于测试每个功能模块
 */
require_once  "models/funPackge.php";
    $db=conSql();
    $sql="select * from `essay`";
    $rs=$db->query($sql);
    $result=$rs->fetchAll(PDO::FETCH_ASSOC);
    print_r($result);